Leveraging the Short-Term Memory of Hardware to Diagnose Production-Run Software Failures
ثبت نشده
چکیده
Failures caused by software bugs are widespread in production runs, causing severe losses for end users. Unfortunately, diagnosing production-run failures is challenging. Existing work cannot satisfy privacy, run-time overhead, diagnosis capability, and diagnosis latency requirements all at once. This paper designs a low overhead, low latency, privacy preserving production-run failure diagnosis system based on two observations. First, short-term memory of program execution is often sufficient for failure diagnosis, as many bugs have short propagation distances. Second, maintaining a shortterm memory of execution is much cheaper than maintaining a record of the whole execution. Following these observations, we first identify an existing hardware performance-monitoring unit, Last Branch Record (LBR), that records the last few taken branches to help diagnose sequential-bug failures. We then propose a simple hardware extension, Last Cache-Coherence Record (LCR), to record the last few cache accesses with specified coherence states and hence help diagnose concurrencybug failures. Finally, we design LBRA and LCRA to automatically locate failure root causes using LBR and LCR. Our evaluation uses 31 real-world sequential and concurrency bug failures from 18 representative open-source software. The results show that with just 16 record entries, LBR and LCR enable our system to automatically locate the root causes for 27 out of 31 failures, with less than 3% run-time overhead. Comparing with existing production-run failure diagnosis systems that rely on sampling, our system does not require a failure to occur many times and significantly shortens the latency of failure diagnosis.
منابع مشابه
Comparison of short term memory function among healthy group and type1 of diabetic patients
Abstract Background: Diabetes is a common disease that is characterized by hyperglycemia or High blood sugar. Central neuropathic is one of the most common Diabetic complications.The increase of blood sugar levels can cause adverse effects on cognitive functions such as information processing speed, memory, and the learning. The aim of this study was to assess short term memory function in pa...
متن کاملComparative Correlation Between Coping Styles And Short Term Memory In Type1 ,2 Diabet And Healthy Group
Abstract Background: Diabetes is a major public health problem globally with an increasing disease trend. The Specific problems of patients in the control and treatment of this disease, which is caused great challenges of everyday life using coping behaviors necessary to better adaptability . Stress can interfere with memory by mechanisms that directly affect brain function. Deploying an appr...
متن کاملMeasuring the Short-Term and Long-Term Effects of Factors Affecting the Export of High-Tech Product Groups in Iran
The importance of non-oil exports and their role in the economic growth and development of countries has always been discuss as an important issue in the economy. Meanwhile, the role of high-tech exports in the growth of developed countries has been significant and developing countries, in order to succeed in the growth of production and export of their industrial goods under the constraint of ...
متن کاملEffects of Short-term Exposure to Electromagnetic Fields Emitted by 3G and 4G Mobile Phones on Reaction Time and Short-term Memory
Introduction: There have been many studies conducted on the effects of mobile phones radiations on people’s health due to increasing number of mobile phones users. The present study aimed to investigate the effects of electromagnetic waves generated from 3G and 4G mobile phone radiations on student’s reaction time and short-term memory. <stro...
متن کاملEffects of fresh, aged and cooked garlic extracts on short- and long-term memory in diabetic rats
Objective: The present study was hypothesized to investigate the beneficial effects of fresh, aged, and cooked garlic extracts on blood glucose and memory of diabetic rats induced by streptozocine (STZ). Material and Methods: Diabetes was induced by an intraperitoneal injection of STZ (60 mg/kg body weight). An oral dose of 1000 mg/kg of each garlic extract was given daily for 4 weeks after dia...
متن کامل